import { Alert, Button, Badge, Switch } from '@opentiny/openinula'

// 在这里导入组件，进行 api 调试
function App() {
  return (
    <div>
      <h1>明志科技TinyInula组件演示</h1>
      <div className="app">
        <Alert description="默认提示组件" />
      </div>
      <div className="m-10">
        <Button>默认按钮</Button>
        <Button type="primary">主要按钮</Button>
        <Button type="success">成功按钮</Button>
        <Button type="info">信息按钮</Button>
        <Button type="warning">警告按钮</Button>
        <Button type="danger">危险按钮</Button>
      </div>
      <div className="m-10">
        <Button plain type="primary">
          朴素主要按钮
        </Button>
      </div>
      <div className="m-10">
        <Badge value={10}>我的待办</Badge>
      </div>

      <div>
        <Switch />
      </div>
    </div>
  )
}

export default App
